-- GENERATED SPELL FOR [Son of Arkkoroc] --


function spell0_6144(pUnit, Event) --@Knock Away,n/a--
pUnit:FullCastSpellOnTarget(10101,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_6144', 610, 1)
end

function Sorts_6144(pUnit, Event)
local choix_sorts_6144 = math.random(0, 0)
if choix_sorts_6144 == 0 then
pUnit:RegisterEvent('spell0_6144', 1, 1)
end
end

function mob6144_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_6144', math.random(1500, 3000), 1)
end

function mob6144_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob6144_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob6144_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(6144, 1, 'mob6144_Action')
RegisterUnitEvent(6144, 2, 'mob6144_Leave')
RegisterUnitEvent(6144, 3, 'mob6144_Kill')
RegisterUnitEvent(6144, 4, 'mob6144_Die')
